import { RouteRecordRaw } from 'vue-router'
import {SideLayout,RouteView} from "@/layouts/index";
export const routes:RouteRecordRaw[] = [
    {
        path: '/',
        component: SideLayout,
        redirect:'/home',
        children:[
            {
                path: '/home',
                name: 'Home',
                component: () => import('/src/views/home.vue')
            }
        ]
    },
    {
        path:'/userLogin',
        name:'userLogin',
        component: () => import('/src/views/userLogin.vue')
    },
    {
        path:'/404',
        name:'404',
        component: () => import('/src/views/404.vue')
    }
]
